import Vue from 'vue'
import VueRouter from 'vue-router'
import Find from '../views/Find'
import My from '../views/My'
import Friends from '../views/Friends'
Vue.use(VueRouter)
const router = new VueRouter({
  linkActiveClass: '模糊匹配',
  linkExactActiveClass:'精确匹配',
  routes: [
    {
      path: '/',
      component: Find,
    },
    {
      path: '/my',
      component: My,
    },
    {
      path: '/part',
      component: Friends,
    },
  ],
})
export default router
